<?php
require_once("./conn.php");

//获取地址栏传递的son
$son = $_GET['son'];

//构建SQL语句
$sql = "delete from insert_student where son=$son";

//执行SQL语句
if(mysqli_query($con,$sql)){
    echo "<script>alert('删除成功!');location='show.php';</script>";
}else{
    echo "<script>alert('删除失败!');location='show.php';</script>";
}
?>

